//
//  UPCalenderCustomView.h
//  Uang Pasti
//
//  Created by 李永彬 on 2025/8/26.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol UPCalenderCustomViewDelegate <NSObject>

- (void)customCalendarPicker:(UPCalendarPicker *)picker didSelectDate:(NSDate *)date;

@end

@interface UPCalenderCustomView : UIView<UPCalendarPickerDelegate>

@property (nonatomic, weak) id<UPCalenderCustomViewDelegate> delegate;
@property (nonatomic, strong) UIImageView *containerImageView;
@property (nonatomic, strong) UPCalendarPicker *calendarPicker;
@property (nonatomic, strong) NSDate *selectDate;
@property (nonatomic, strong) UILabel *titleLabel;

- (instancetype)initWithFrame:(CGRect)frame selectDate: (NSDate *)selectDate;

@end

NS_ASSUME_NONNULL_END
